// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlShowCollationStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../visitor/MySqlASTVisitor.h"

void MySqlShowCollationStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlShowCollationStatement)))
  {
    acceptChild(visitor, where);
    acceptChild(visitor, pattern);
  }
  visitor->endVisit(SharedObject(MySqlShowCollationStatement));
}

SQLExpr_ptr MySqlShowCollationStatement::getWhere()
{
  return where;
}

void MySqlShowCollationStatement::setWhere(SQLExpr_ptr where)
{
  this->where = where;
}

SQLExpr_ptr MySqlShowCollationStatement::getPattern()
{
  return pattern;
}

void MySqlShowCollationStatement::setPattern(SQLExpr_ptr pattern)
{
  this->pattern = pattern;
}
